home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-11 | 1.1 KB | 24 lines | [TEXT/MEDT] |
- Implementation Notes to the module Coroutines:
-
- The implementation of the module Coroutines is based on the
- Apple Thread Manager. Therefore the Thread Manager extension
- must be installed inside the system folder. This extension is NOT
- included here, but is freely available via anonymous ftp from
- "ftp.apple.com." in the directory /dts/mac/hacks.
-
- The workspace of the coroutines and processes is allocated on the heap.
- You have to carefully calculate the workspace size. The routine
- FreeCoroutineWorkspace may help you in this task. If a coroutine
- or a process runs out of workspace (stack) your machine will crash.
-
- Coroutines are co-operative threads. They may use any ToolBox routines.
- Processes are pre-emptive threads. You have to follow the same rules
- like in interrupt routines. Calling most of the ToolBox routines is
- considered as a programming error and may lead into a system crash.
-
- The Coroutines and the Thread modules are provided for free. The same
- copyright conditions apply like in MacMETH 3.2.1. Please read the
- file "copyright" included in the MacMETH distribution.
-
- jth 4/94
-